Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_NEW_FROM_SAMPLES

GRIB_NEW_FROM_SAMPLES

The GRIB_NEW_FROM_SAMPLES function creates a new GRIB handle from a sample.

Syntax

Result = GRIB_NEW_FROM_SAMPLES(Resourcename)

Return Value

Returns a new GRIB handle.

Arguments

Resourcename

The resource name in <IDL_DIR>/resource/grib/share. For example, if the file in the share directory is named GRIB.tmpl, pass 'GRIB' as the resource name.

Examples

See GRIB_GET_VALUESfor a general example using the GRIB routines.

Version History

8.1

Introduced

See Also

GRIB_OPEN, GRIB_NEW_FROM_FILE, GRIB_RELEASE